<?php


namespace app\admin\controller\v1;


use app\common\controller\BaseController;
use app\admin\model\Role as RoleModel;

class Role extends BaseController
{
    //获取列表
    public function  index(){
        $list = (new RoleModel())->getRoleList();
        return self::showResCode('获取成功',$list);
    }

    public function save()
    {

    }

    public function update()
    {}

    public function delete()
    {}
}